from webob.exc import *

class ClutchException(Exception): pass
class ContinueTraversal(ClutchException):

    def __init__(self, new_root, path_remainder):
        self.args = new_root, path_remainder

    def __repr__(self):
        return '<ContinueTraversal with %s at %s>' % self.args

class TemplateNotFound(ClutchException): pass
